Click
In the Clicking panel you can select what happens when you double click in the
notify list and the channel user list.
The options are to either put the nick in the input line, or the program can run
a script that can do someting with the selection.
By default the scripts that are defined sends a private message on a double click
in the notify list, and opens a query window on a double click in the user list.
In this case the script consists on a single command, but if you define an alias
in one of the files in the script folder you can perform complex operations on
a double click.
As explained later in the scripting chapter $E and others are called scripting
variables. When the script is run, these variables will be replaced by what they
represent.
$E represents the nick of the selected nick in either a user list or a notify
list, and $* represent the contents of the input line.
query $E -- this will open a query window to the selected nick
msg $E $* -- this will send the contents of the console window input list as a
private message to the selected nick
An alias example:
If you defined the following aliases in a script file and loaded it, you could
replace "query $E" with "ChannelClick" and "msg $E $*
" with "ConsoleClick" in the panel above and the behavior would
be the same.
Then you could extend the aliases to do precisely what you need.
alias ChannelClick {
query $E
}
alias ConsoleClick {
msg $E $*
}